home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / ip122.zip / IP.DOC next >
Text File  |  1991-11-19  |  5KB  |  118 lines

  1.  
  2. Greetings from MEL's Diner BBS!       (714) 686-1522
  3.  
  4.  
  5. IP is a serial interrupt and port verification program. Just run "ip" and the
  6. program will check the RAM bios data area to see what port addresses your 
  7. system is currently aware of. The program will then run a diagnostic routine
  8. to discover any additional ports, and update the data area accordingly. In the
  9. meantime, IP will also tell you which IRQ's are being used by what ports. 
  10.  
  11. NOTE: IP does not assume that address 0x3F8 is connected to IRQ3, 0x2F8 to 
  12. IRQ4, etc... as several other serial port diagnostic utilities do. IP acually
  13. enables the 8250's interrupts and does a functional check of the 8259 interrupt
  14. controller chip and it's associated circuitry. In doing so, IP determines 
  15. exactly which hardware ports are connected to which IRQ's.
  16.  
  17. IP will now take a command line switch (/n or /x). The /n (default) switch tells
  18. IP to check standard IBM port addresses (3F8h,2F8h,3E8h,2E8h). The /x switch 
  19. will allow IP to look for additional addresses which are sometimes used in non-
  20. standard hardware schemes. The /x switch should be used with caution as some
  21. non-standard hardware layouts will crash unexpectedly when one of these add-
  22. itional port addresses are searched by IP. 
  23.  
  24. EXAMPLE:
  25.  
  26. Interrupt and Port Verifier (serial) - Version x.xx
  27. Copyright (C) 1990-1991, AM Research Co.
  28.  
  29. Bios reports --> COM1:3F8 COM2:2F8  2 serial ports
  30.  
  31. PART#  BASE RD IE ID LC MC LS MS SP LSB MSB  IRQ (XT) IRQ (AT) INT  VECTOR
  32.                                              01234567 89ABCDEF
  33. 8250-B 3F8: 00 00 01 03 00 62 08 FF 030 000  00001000 00000000 0Ch 119C:032A
  34. 8250A  2F8: 0D 00 01 03 00 60 F0 00 030 000  00010000 00000000 0Bh 119C:02A2
  35. 16550A 3E8: 00 00 01 03 00 62 30 00 006 000  00000100 00000000 0Dh 119C:02FA
  36.  
  37. 3 serial ports found!  Updating bios data area.
  38.  
  39.  
  40. EXPLANATION:
  41.  
  42. The first info line after the copyright notice tells us that the system
  43. bios data area (RAM) thinks that there are two serial port addresses in-
  44. stalled in the computer under test. These addresses are found by the bios
  45. POST routines when the system is first booted. Many older bios test routines
  46. only check for COM1 and COM2 as the example shows.
  47.  
  48. After reading the bios, the program prints a list of each port address that
  49. it found to contain a serial port. Each line will begin with the part number
  50. of the UART chip which was found. After the part number the port address is
  51. shown followed by the contents of the port's ten readable registers. The 
  52. values displayed may make more sense if you check the 8250 data sheet for
  53. register descriptions, etc. 
  54.  
  55. Following the register values is a list of 1's and 0's indicating which 
  56. hardware IRQ the port in question is connected to. This is the place to look
  57. if you are having a problem that you suspect is due to an IRQ conflict.
  58. Generally speaking, it is ok for two ports to share the same IRQ as long as 
  59. your work only uses one of the hardware devices at at time.
  60.  
  61. After the IRQ block is the interrupt number and vector of the ISR that will
  62. be called to service the port if an interrupt is generated. Note that almost
  63. all serial ports will have their interrupts turned OFF at the time you are
  64. performing the test. The interrupt vector that is displayed will probably be 
  65. changed by an application that enables the port's interrupts. 
  66.  
  67. It is very important for the operator to realize that IP is a diagnostic
  68. utility which is meant to be used in checking/troubleshooting a newly modifed
  69. or questionable computer. As such, IP may therefore interfere with the system's
  70. operation as it actively enables and operates each port's interrupt circuitry. 
  71.  
  72. IP will probably NOT work properly if you have loaded any type of software that
  73. activates the port's interrupts such as fossil drivers, etc. IP may very well
  74. cause a crash if used with any type of multi-tasking software.
  75.  
  76. Finally, IP will modify the bios data area to report any additional ports it
  77. discovers.
  78.  
  79. I would be quite interested in hearing from anyone with comments, suggestions,
  80. crashing reports, etc...
  81.  
  82. As you might imagine, IP remains Copyright (C) 1990-1991, AM Research Co. 
  83.  
  84.  
  85.  
  86. Hope you enjoy using it.
  87.  
  88.  
  89.                                                   bye for now...
  90.                                                       
  91.                                                       MEL
  92.  
  93.  
  94.  
  95. HISTORY
  96.  
  97. Version 1.22 - Fixed bug in the bios data area update routine. (It didn't
  98.                always update it!)
  99.  
  100. Version 1.21 - Fixed bug whereby NS16550's and NS16550A's wouldn't produce 
  101.                an interrupt if the fifo buffers were activated. Also added
  102.                NS16552 detection.
  103.  
  104. Version 1.20 - Added extended base addresses. Also protected system from the
  105.                isr test if interrupts are already activated.
  106.  
  107. Version 1.10 - Rewrote the isr. Works much better now.
  108.  
  109. Version 1.04 - Yet more bugs.
  110.  
  111. Version 1.03 - More minor bugs.
  112.  
  113. Version 1.02 - Minor bug fix.
  114.  
  115. Version 1.01 - First release.
  116.  
  117.  
  118.